<?php
// mod文件只能被入口文件引用，不能直接访问
if(!defined('IN_DISCUZ')) {
	exit('Access Denied');
}

$music = @dir("static/music/classic");

$classic = array();
while (($file = $music->read()) !== false)  {
	if("." != $file && ".." != $file){
		$classic[] = iconv('GBK', 'UTF-8', $file);
	}
}
$music->close();

$music = @dir("static/music/mouzhate");
$mouzhate = array();
while (($file = $music->read()) !== false)  {
	if("." != $file && ".." != $file){
		$mouzhate[] = iconv('GBK', 'UTF-8', $file);
	}
}
$music->close();

include_once template("down/music");
?>